function [ pos ] = Pos( P,x )
%POS Summary of this function goes here
%   Detailed explanation goes here
pos = 0;
for i=1:size(P,2)
    if (x==P(i))
        pos = i;
    end;
end;
